package com.suket.jnn;

public class Weight {

  private double w1;
  private double w2;

  public Weight() {
    w1 = w2 = 0;
  }

  public void setW( double w ) {
    w2 = w1;
    w1 = w;
  }

  public double getW() {
    return w1;
  }

  public String toString() {
    return "w2 = " + w2 + " , w1 = " + w1;
  }

}
